<template>
  <div>
    <el-input v-modal="value"></el-input>
    <el-button @click="saveValue">保存数据</el-button>
  </div>
</template>

<script>
export default {
  name: "Home",
  data() {
    return {
      value: ''
    }
  },
  methods: {
    saveValue() {
      electronAPI.sendMessage("saveValue", this.value)
    }
  }
}
</script>

<style scoped>

</style>